package eteam.aps.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * @author LiuLei
 */
public class QCAcceptType {

    /**
     * 不合格
     */
    public static final int REFUSED = -1;

    /**
     * 草稿
     */
    public static final int DRAFT = 0;

    /**
     * 合格
     */
    public static final int ALLOWED = 1;

    /**
     * 入库
     */
    public static final int STORAGE = 2;

    public static final Map<String, String> MAP = new HashMap<>();

    static {
        MAP.put("-1", "不合格");
        MAP.put("0", "未检验");
        MAP.put("1", "合格");
        MAP.put("2", "合格");
    }
}
